<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>我要点评 - 爽客网</title>
<%@include file="../common/js.jsp" %>
<%@include file="../common/jspcommon.jsp" %>
<%@include file="../common/css.jsp" %>
<link href="css/other.css" type="text/css" rel="stylesheet" />
<!--[if ie 6]><script src="../js/common/iepng.js" type="text/javascript"></script><![endif]-->
<!--[if ie 6]><link href="../../css/jrIE6.css" type="text/css" rel="stylesheet"><![endif]-->
<!--[if ie]><link href="../../css/jrIE.css" type="text/css" rel="stylesheet"><![endif]-->
</head>

<body>
	<!-- head -->
    <%@include file="../common/header.jsp" %>
    <!-- head--end -->

	<div class="wrap">
		
        <!-- content-->
        <div class="w980 mg mt10 mb10">
        	<div class="container">
            	<!--left-->
                <div class="l_box_s1">
                	<div class="dp_total_box">
                    	<h1 class="title"><a href="review.htm" class="fr mr20">我要点评>></a><a href="#" class="f14" onclick="getHtml('${owner.id}','${ownerType}');">${owner.name}</a> 总体印象点评</h1>
                        <div class="dp_detail">
                        	<!-- pic-->
                        	<div class="pic_box">
                        		<a href="#"><img src="${member.imageServer}${member.avatar}" class="block pic"/></a>
                                <a href="#" class="name">${member.nickname }</a>
                            </div>
                            <!-- pic--end-->
                            
                            <div class="info_box">
                            	<div class="dp_star">
                                	<i class="fb mr5">总体评价：</i><span class="g_star_bg g_star_s1 star_n${discuss.overall}"></span>
                                </div>
                                <p class="dp_sort mt10 mb10">
                                	<span>人气：
	                                	<i>
		                                	<c:if test="${discuss.popul==1}">很烂</c:if>
		                                	<c:if test="${discuss.popul==2}">一般</c:if>
		                                	<c:if test="${discuss.popul==3}">还好</c:if>
		                                	<c:if test="${discuss.popul==4}">较好</c:if>
		                                	<c:if test="${discuss.popul==5}">很好</c:if>
	                                	</i>
                                	</span>
	                                <span>娱乐：
	                                		<i>
		                                	    <c:if test="${discuss.recreation==1}">很烂</c:if>
		                                		<c:if test="${discuss.recreation==2}">一般</c:if>
		                                		<c:if test="${discuss.recreation==3}">还好</c:if>
		                                		<c:if test="${discuss.recreation==4}">较好</c:if>
		                                		<c:if test="${discuss.recreation==5}">很好</c:if>
	                                		</i>
	                                </span>
	                                	<span>服务：
		                                	<i>
		                                	<c:if test="${discuss.serving==1}">很烂</c:if>
		                                	<c:if test="${discuss.serving==2}">一般</c:if>
		                                	<c:if test="${discuss.serving==3}">还好</c:if>
		                                	<c:if test="${discuss.serving==4}">较好</c:if>
		                                	<c:if test="${discuss.serving==5}">很好</c:if>
		                                	</i>
	                                	</span>
	                                	<span>规模：
		                                	<i>
		                                	<c:if test="${discuss.proportion==1}">很烂</c:if>
		                                	<c:if test="${discuss.proportion==2}">一般</c:if>
		                                	<c:if test="${discuss.proportion==3}">还好</c:if>
		                                	<c:if test="${discuss.proportion==4}">较好</c:if>
		                                	<c:if test="${discuss.proportion==5}">很好</c:if>
		                                	</i>
	                                	</span>
                                </p>
                                <p class="content">
                                	${discuss.content }
                                </p>
                                <!-- <p class="nums">
                                	<i class="fr clr666">2012-05-28 11:11:00</i>
                                	<a href="#" class="clrblue">有用<strong class="clrf60">(0)</strong></a>
                                    <a href="#" >回复<strong class="clrf60">(0)</strong></a>
                                </p> -->
                            </div>
                        </div>
                        
                        <!-- comment-box-->
                       <!--  <div class="comment_box">
                        	<ul class="dp_comment">
                            	<li class="clearfix">
                                	<span>回复</span>
                                    <textarea></textarea>
                                </li>
                                <li class="clearfix">
                                	<input type="button" class="btn" />
                                </li>
                            </ul>
                        </div> -->
                        <!-- comment-box--end-->
                        
                    </div>
                </div>
                <!-- left--end-->
                <div class="r_box_s1">
                	<div class="view_box">
                    	<a href="#" class="tc" onclick="getHtml('${owner.id}','${ownerType}');"><img src="${owner.image1}" class="pic" /></a>
                        <a href="#" class="name" onclick="getHtml('${owner.id}','${ownerType}');">${owner.name}</a>
                    </div>
                    <div class="com_box_s1 mb10">
                    	<h1>其他点评</h1>
                        <ul>
                        <c:forEach items="${discussList}" var="list">
                        	<li>
                            	<a href="disCmtDet.htm?id=${list.id}">${list.content}</a>
                            </li>
                        </c:forEach>
                        </ul>
                    </div> 
                    
                   <!--  <div class="com_box_s1 mb10">
                    	<h1>推荐景点</h1>
                        <ul>
                        	<li>
                            	<a href="#">泰康路</a>
                            </li>
                            <li>
                            	<a href="#">黄兴公园</a>
                            </li>
                            <li>
                            	<a href="#">松江清真寺</a>
                            </li>
                            <li>
                            	<a href="#">东佘山园</a>
                            </li>
                            <li>
                            	<a href="#">黄兴公园</a>
                            </li>
                            <li>
                            	<a href="#">松江清真寺</a>
                            </li>
                        </ul>
                    </div> -->
                    
                </div>
            </div>
        </div>
        <!-- content--end-->
              
    </div>
    <div class="foot_seperate"></div>
    <!-- foot-->
    <%@include file="../common/footer.jsp" %>
    <!-- foot--end-->
 <script language="javascript">

 function getHtml(owner,type){
		if(type=='att'){
			window.open ("scenic.htm?id="+owner);
		}else if(type=='hotel'){
			window.open ("hotel.htm?id="+owner);
		}
		else if(type=='product'){
			window.open ("product.htm?id="+owner);
		}
	}
</script>
</body>
</html>
